
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskEmployee;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for TaskEmployee entities
 * 
 */
public interface TaskEmployeeService {

	/**
	* Delete an existing TaskEmployee entity
	* 
	 */
	public void deleteTaskEmployee(TaskEmployee taskemployee);

	/**
	* Save an existing Task entity
	* 
	 */
	public TaskEmployee saveTaskEmployeeTask(Integer id, Task related_task);

	/**
	* Return all TaskEmployee entity
	* 
	 */
	public List<TaskEmployee> findAllTaskEmployees(Integer startResult, Integer maxRows);

	/**
	* Save an existing TaskEmployee entity
	* 
	 */
	public void saveTaskEmployee(TaskEmployee taskemployee_1);

	/**
	* Return a count of all TaskEmployee entity
	* 
	 */
	public Integer countTaskEmployees();

	/**
	 */
	public TaskEmployee findTaskEmployeeByPrimaryKey(Integer id_1);

	/**
	* Load an existing TaskEmployee entity
	* 
	 */
	public Set<TaskEmployee> loadTaskEmployees();

	/**
	* Save an existing Employee entity
	* 
	 */
	public TaskEmployee saveTaskEmployeeEmployee(Integer id_2, Employee related_employee);

	/**
	* Delete an existing Task entity
	* 
	 */
	public TaskEmployee deleteTaskEmployeeTask(Integer taskemployee_id, Integer related_task_id);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public TaskEmployee deleteTaskEmployeeEmployee(Integer taskemployee_id_1, Integer related_employee_id);
}